package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 司机出车时长记录表
 * </p>
 *
 * @author Dell
 * @since 2021-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DriverServiceLog对象", description="司机出车时长记录表")
public class DriverServiceLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "司机ID")
    private Long driverId;

    @ApiModelProperty(value = "开始时间")
    private Integer startedTimestamp;

    @ApiModelProperty(value = "结束时间")
    private Integer endedTimestamp;

    @ApiModelProperty(value = "持续时间")
    private Integer duration;

    @ApiModelProperty(value = "最后上传时间")
    private Integer lastReportTimestamp;

    @ApiModelProperty(value = "当前任务执行批次号")
    private String currentTaskBatchNumber;

    @ApiModelProperty(value = "任务时间")
    private LocalDateTime taskTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedAt;


}
